package com.ztgf.shopping.models.dto.shop;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

import com.ztgf.common.dto.BaseDTO;

/**
 * 店铺分类表DTO
 *
 * @author zhanghualang
 * @Date 2020-05-28 14:42:59
 */
@Data
@TableName("shop_category_relation")
@ApiModel(value = "店铺分类表对象", description = "店铺分类表对象")
public class ShopCategoryRelationDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "品牌id")
    private Long brandId;
    @ApiModelProperty(value = "分类id 三级分类")
    private Long categoryId;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "是否删除:0未删除,1已删除")
    private Integer isDelete;
    @ApiModelProperty(value = "佣金比例")
    private BigDecimal dividendScale;
    @ApiModelProperty(value = "佣金比例百分比")
    private BigDecimal dividendScaleRate;

}